package com.baosight.risk.service.riwa.entity;

import com.baosight.risk.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.*;

import lombok.Data;

/**
 * Table: T_RIWA_RISK_WARING_STATUS、
 * 重点风险预警模型==预警状态
 */
@Data
@ApiModel
@Table(name = "T_RIWA_RISK_WARING_STATUS")
public class RiwaRiskWaringStatus extends BaseEntity {

    /**
     * 预警模型
     * <p>
     * Table:     T_RIWA_RISK_WARING_STATUS
     * Column:    WARNING_MODEL_GUID
     * Nullable:  true
     */
    @ApiModelProperty("预警模型")
    @Column(name = "WARNING_MODEL_GUID")
    private String warningModelGuid;

    /**
     * 重点风险ID
     * <p>
     * Table:     T_RIWA_RISK_WARING_STATUS
     * Column:    IMPORT_GUID
     * Nullable:  true
     */
    @ApiModelProperty("重点风险ID")
    @Column(name = "IMPORT_GUID")
    private String importGuid;

    /**
     * 风险点ID
     * <p>
     * Table:     T_RIWA_RISK_WARING_STATUS
     * Column:    RISK_ID
     * Nullable:  false
     */
    @ApiModelProperty("风险点ID")
    @Column(name = "RISK_ID")
    private String riskId;

    /**
     * 预警状态（绿、黄、橙、红、黑）
     * <p>
     * Table:     T_RIWA_RISK_WARING_STATUS
     * Column:    WARNING_STATUS
     * Nullable:  false
     */
    @ApiModelProperty("预警状态（绿、黄、橙、红、黑）")
    @Column(name = "WARNING_STATUS")
    private String warningStatus;

    /**
     * 预警状态说明
     * <p>
     * Table:     T_RIWA_RISK_WARING_STATUS
     * Column:    WARNING_STATUS_NAME
     * Nullable:  false
     */
    @ApiModelProperty("预警状态说明")
    @Column(name = "WARNING_STATUS_NAME")
    private String warningStatusName;

    /**
     * 预警区间
     * <p>
     * Table:     T_RIWA_RISK_WARING_STATUS
     * Column:    WARNING_DESC
     * Nullable:  true
     */
    @ApiModelProperty("预警区间")
    @Column(name = "WARNING_DESC")
    private String warningDesc;

    /**
     * 排序
     * <p>
     * Table:     T_RIWA_RISK_WARING_STATUS
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @ApiModelProperty("排序")
    @Column(name = "ROW_ORDER")
//    private String rowOrder;
    private  Integer rowOrder;
    /**
     * 状态
     * <p>
     * Table:     T_RIWA_RISK_WARING_STATUS
     * Column:    STATUS
     * Nullable:  true
     */
    @ApiModelProperty("状态")
    @Column(name = "STATUS")
    private String status;

    /**
     * 状态说明
     * <p>
     * Table:     T_RIWA_RISK_WARING_STATUS
     * Column:    STATUS_NAME
     * Nullable:  true
     */
    @ApiModelProperty("状态说明")
    @Column(name = "STATUS_NAME")
    private String statusName;

}